package com.woniu.postbar.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.entity.PageData;
import com.woniu.postbar.entity.dto.PostCommentDTO;
import com.woniu.postbar.entity.vo.PostCommentVO;
import com.woniu.postbar.pojo.PostComment;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wu
 * @since 2023-05-20
 */
public interface IPostCommentService extends IService<PostComment> {

    boolean addPostComment(PostCommentDTO postCommentDTO);

    PageData<List<PostCommentVO>> search(Integer currentPage, Integer pageSize, PostCommentDTO postCommentDTO);

//    List<PostCommentVO> listComment(PostCommentDTO postCommentDTO);
}
